From: Florian Eckert Date: Fri, 7 Jun 2024 10:51:00 +0000 (+0200) Subject: luci-theme-material: add css class button-row X-Git-Url: http://git.openwrt.org/%22https:/collectd.org//%22/%22https:/collectd.org/%22?a=commitdiff_plain;h=5119fa2f7972534ac4634412f1963ab58e5ce74a;p=project%2Fluci.git luci-theme-material: add css class button-row Signed-off-by: Florian Eckert --- diff --git a/themes/luci-theme-material/htdocs/luci-static/material/cascade.css b/themes/luci-theme-material/htdocs/luci-static/material/cascade.css index 5434e108b5..fdcb98eb5b 100644 --- a/themes/luci-theme-material/htdocs/luci-static/material/cascade.css +++ b/themes/luci-theme-material/htdocs/luci-static/material/cascade.css @@ -1749,6 +1749,19 @@ body:not(.Interfaces) .cbi-rowstyle-2:first-child { max-height: none; } +.modal .button-row { + display: flex; + justify-content: space-between; +} + +.modal .button-row > :not(:last-child) { + margin-right: .5em; +} + +.modal .button-row > :first-child { + margin-right: auto; +} + body.modal-overlay-active { overflow: hidden; height: 100vh;